package solutions.ferpa.ztest.intf;

import br.com.telescope.t2.ModuleNavigator;
import br.com.telescope.t2.ServiceNavigation;

public class ModMdlhidr extends ModuleNavigator {
    
    public ModMdlhidr() {
        
        setGlobalName("ZTEST.MOD_MDLHIDR");
        setInitialService(CadModeloHidrometro.class, "QUERY");
        
        addNavigation((new ServiceNavigation())
                .id("20903925")
                .name("MASTER")
                .label("Modelos de hidrômetros")
                .destination(CadModeloHidrometro.class)
                .feature("VIEW")
                .parameterName("A_ID")
                );
        addNavigation((new ServiceNavigation())
                .id("20903937")
                .name("GUIA_PROD")
                .label("Produtos (hidrômetros)")
                .destination(CadHidrometro.class)
                .feature("LIST")
                .parameterName("P_ID_MODELO_HIDROMETRO")
                );
    }
}
